
function rollNumber ( maxN ) {
    var N = Math.floor(maxN*Math.random());
    
    /*for (var i = 0; i < 12; i++) {
        if ( isN( N ) ) {
            damTag = true;
            break;
        }
        else {
            N = Math.floor(maxN*Math.random());
            damTag = false;
        }
    }*/
    
    return N;
}

var r_title = new Array ();

r_title[0] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/001BBB.png";
r_title[1] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/002willhesave.png";
r_title[2] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/003game.png";
r_title[3] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/004incredible.png";
r_title[4] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/005museum.png";
r_title[5] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/006signs.png";
r_title[6] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/007tometa.png";
r_title[7] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/008est.png";
r_title[8] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/009game.png";
r_title[9] = "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/010didyuo.png";
r_title[10]= "http://howinternet-assets.googlecode.com/svn/trunk/img/titles/011tragically.png";

/***************************/

var i = 0;

rts = gup( "title" );

if ( rts == "" )
    i = rollNumber( r_title.length );
else
    i = parseInt( rts );
    
if ( i > r_title.length || i < 0)
    i = rollNumber( r_title.length );

document.write( "<img src=\"" + r_title[i] + "\" />" );
